package com.bycx.dingxinlc.controller;

import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.bycx.core.annotation.WechatNeedLogin;
import com.bycx.dingxinlc.model.TCustLoginInfo;
import com.bycx.wechat.util.WeChatSessionUtil;

@Controller
@RequestMapping(value = "/wechat/custService")
public class WechatCustServController {
	/**
	 * 会员服务页面
	 * 
	 * @Title: vippay
	 * @param @param req
	 * @param @return 参数
	 * @return String 返回类型
	 * @throws
	 */
	@WechatNeedLogin
	@RequestMapping(value = "/vippay", method = RequestMethod.GET)
	public String vippay(HttpServletRequest req) {
		TCustLoginInfo info = WeChatSessionUtil.getCustLoginInfo();
		String phoneNo = info.getPhoneNo();
		req.setAttribute("phoneNo", phoneNo);
		return "wechat/custService/vippay";
	}

}
